package com.xz.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xz.dao.HelloDao;
import com.xz.dao.UserMapper;
import com.xz.entity.User;

@Service
public class HelloService {

	@Autowired
	private HelloDao helloDao;
	@Autowired
	private UserMapper userMapper;
	
	public String getName() {
		return helloDao.getName();
	}
	
	public Long getUserCount() {
		return helloDao.getUserCount();
	}
	
	public List<User> selectUserAll() {
		return userMapper.selectAll();
	}
	
}
